import {ref} from "vue";

let TOKEN = ""
let url:string="http://1.14.110.168:8010/"
export {url}
export function localToken() {
    TOKEN = window.localStorage.getItem('token') || ""
}

export function setToken(token: string) {
    window.localStorage.setItem('token', token)
}


export function getToken() {
    return TOKEN
}

// export default {
//     setToken,
//     localToken,
//     getToken
// }
